package com.vcc.service.client.dto.wellat;


import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Setter
@Getter
public class TransferOutDto implements Serializable {

    //用户钱包ID
    @NotNull(message = "请选择转出钱包")
    private Long outWalletId;

    //被操作用户ID
    @NotNull(message = "请选择转入钱包")
    private Long inWalletId;

    //操作金额
    @NotNull(message = "请输入金额")
    @Min(value = 0, message = "无法输入小于0的金额")
    private BigDecimal amount;

    //备注
    private String remark;
}
